package com.dong.boot.service;

import com.dong.boot.mapper.MenuMapper;
import com.dong.boot.model.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService {
    @Autowired
    MenuMapper menuMapper;
    public List<Menu> getAllMenusWithRole(){
       return menuMapper.getAllMenusWithRole();
    }
}
